#!/usr/bin/python
'''
Created by Colin Gillespie <c.gillespie@ncl.ac.uk>
$LastChangedDate: 2008-07-18 10:50:10 +0000 (Fri, 18 Jul 2008) $

'''

__revision__ = '$Rev: 108 $'




class Singleton(object):
    _instance = None
    def __new__(cls, *args, **kwargs):
        if not cls._instance:
            cls._instance = super(Singleton, cls).__new__(
                cls, *args, **kwargs)
        return cls._instance
